﻿/* Expansion.css — "Our Expansion" page
   Inherits design tokens from MasterPages/Master.css (:root) */

/* ── shared breathing glow (scoped) ── */
@keyframes exp-breathe {
    0%, 100% {
        opacity: 0.20;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.38;
        transform: translateX(-50%) scale(1.10);
    }
}

/* ══════════════════ HERO ══════════════════ */
.exp-hero-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    height: 780px;
    max-width: 120vw;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(125,27,211,0.50) 0%, rgba(222,155,24,0.16) 40%, transparent 68%);
    animation: exp-breathe 7s ease-in-out infinite;
}

.exp-hero {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 70px clamp(20px,5vw,40px) 40px;
}

.exp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--secondary);
    padding: 7px 16px;
    border: 1px solid rgba(222,155,24,0.30);
    border-radius: 999px;
    background: rgba(222,155,24,0.06);
    margin-bottom: 26px;
}

.exp-hero-title {
    font-size: clamp(30px,5.4vw,58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 24px;
}

.exp-hero-sub {
    font-size: clamp(15px,1.7vw,18px);
    line-height: 1.75;
    color: rgba(236,230,255,0.62);
    max-width: 620px;
    margin: 0 auto 34px;
}

    .exp-hero-sub strong {
        color: var(--text-main);
        font-weight: 600;
    }

/* redacted coordinate chips */
.exp-coord-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.exp-coord-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(18,10,36,0.55);
    border: 1px solid rgba(125,27,211,0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.exp-coord-chip--live {
    border-color: rgba(222,155,24,0.40);
    box-shadow: 0 0 24px rgba(222,155,24,0.12);
}

.exp-coord-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.exp-coord-val {
    font-family: 'DejaVu Sans', monospace;
    font-size: 14px;
    color: var(--secondary);
    letter-spacing: 1px;
}

.exp-coord-arrow {
    color: rgba(125,27,211,0.7);
    font-size: 20px;
}

.exp-redact {
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 1px;
    color: rgba(236,230,255,0.30);
    background: rgba(125,27,211,0.18);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ══════════════════ SECTION SHELL ══════════════════ */
.exp-section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px clamp(20px,5vw,60px);
}

.exp-section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 14px;
}

.exp-section-title {
    font-size: clamp(24px,3.4vw,38px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.4px;
    color: #fff;
    margin-bottom: 20px;
}

.exp-body {
    font-size: 15.5px;
    line-height: 1.85;
    color: rgba(236,230,255,0.60);
    margin-bottom: 16px;
}

    .exp-body:last-child {
        margin-bottom: 0;
    }

/* ── scroll reveal ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    [data-reveal].exp-in {
        opacity: 1;
        transform: none;
    }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .exp-hero-glow, .exp-route-path--flow, .exp-route-spark, .exp-node-pulse {
        animation: none !important;
    }
}

/* ══════════════════ ROUTE (signature) ══════════════════ */
.exp-route-section {
    padding-top: 24px;
    padding-bottom: 24px;
}

.exp-route {
    display: grid;
    grid-template-columns: 1fr minmax(140px, 2fr) 1fr;
    align-items: center;
    gap: 8px;
    background: rgba(18,10,36,0.45);
    border: 1px solid rgba(125,27,211,0.22);
    border-radius: 24px;
    padding: 38px clamp(18px,4vw,44px);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.exp-node {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    position: relative;
}

.exp-node-tag {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(187,128,255,0.9);
}

.exp-node-tag--gold {
    color: #f0be5a;
}

.exp-node-name {
    font-family: 'DejaVu Sans', sans-serif;
    font-size: clamp(18px,2.4vw,26px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.exp-node-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.exp-node--origin .exp-node-name {
    color: rgba(236,230,255,0.55);
}

/* destination pulse */
.exp-node--dest {
    padding-top: 4px;
}

.exp-node-pulse {
    position: absolute;
    top: -14px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(222,155,24,0.55);
    animation: exp-pulse 2.4s ease-out infinite;
}

@keyframes exp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(222,155,24,0.55);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(222,155,24,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(222,155,24,0);
    }
}

/* connector line */
.exp-route-line {
    position: relative;
    height: 60px;
}

.exp-route-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.exp-route-path {
    stroke: rgba(125,27,211,0.30);
    stroke-width: 1.5;
}

.exp-route-path--flow {
    stroke: var(--secondary);
    stroke-width: 2;
    stroke-dasharray: 14 220;
    filter: drop-shadow(0 0 4px rgba(222,155,24,0.7));
    animation: exp-flow 3.2s linear infinite;
}

@keyframes exp-flow {
    to {
        stroke-dashoffset: -234;
    }
}

/* ══════════════════ LEAD ══════════════════ */
.exp-lead {
    max-width: 760px;
    margin: 0 auto;
}

.exp-lead-p {
    font-size: clamp(16px,1.9vw,19px);
    line-height: 1.85;
    color: rgba(236,230,255,0.66);
    margin-bottom: 20px;
}

    .exp-lead-p:last-child {
        margin-bottom: 0;
    }

    .exp-lead-p strong {
        color: #fff;
        font-weight: 600;
    }

    .exp-lead-p em {
        font-style: italic;
        color: var(--secondary);
    }

/* ══════════════════ SPLIT (facility) ══════════════════ */
.exp-split {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 44px;
    align-items: center;
}

.exp-spec-card {
    background: rgba(18,10,36,0.55);
    border: 1px solid rgba(125,27,211,0.28);
    border-radius: 20px;
    padding: 10px 24px;
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
}

.exp-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(125,27,211,0.14);
}

    .exp-spec-row:last-child {
        border-bottom: none;
    }

.exp-spec-k {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

.exp-spec-v {
    font-size: 14px;
    color: var(--text-main);
    text-align: right;
}

.exp-spec-v--redact {
    font-family: monospace;
    color: rgba(236,230,255,0.30);
    background: rgba(125,27,211,0.18);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.exp-spec-v--live {
    color: var(--secondary);
    font-weight: 600;
}

/* ══════════════════ CARDS ══════════════════ */
.exp-cards-head {
    text-align: center;
    margin-bottom: 38px;
}

    .exp-cards-head .exp-section-title {
        margin-bottom: 0;
    }

.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.exp-card {
    background: rgba(18,10,36,0.52);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid rgba(125,27,211,0.28);
    border-radius: 20px;
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

    .exp-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(125,27,211,0.55) 50%, transparent);
    }

    .exp-card:hover {
        transform: translateY(-5px);
        border-color: rgba(125,27,211,0.52);
        box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    }

.exp-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(125,27,211,0.18);
    border: 1px solid rgba(125,27,211,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #bb80ff;
}

    .exp-card-icon svg {
        width: 22px;
        height: 22px;
    }

.exp-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 11px;
}

.exp-card-body {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(236,230,255,0.56);
}

.exp-card--gold .exp-card-icon {
    background: rgba(222,155,24,0.14);
    border-color: rgba(222,155,24,0.28);
    color: #f0be5a;
}

.exp-card--gold::before {
    background: linear-gradient(90deg, transparent, rgba(222,155,24,0.45) 50%, transparent);
}

.exp-card--gold:hover {
    border-color: rgba(222,155,24,0.45);
}

/* ══════════════════ STATS ══════════════════ */
.exp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: rgba(18,10,36,0.40);
    border: 1px solid rgba(125,27,211,0.20);
    border-radius: 22px;
    padding: 40px 24px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.exp-stat {
    text-align: center;
    border-right: 1px solid rgba(125,27,211,0.14);
}

    .exp-stat:last-child {
        border-right: none;
    }

.exp-stat-num {
    display: block;
    font-family: 'DejaVu Sans', sans-serif;
    font-size: clamp(34px,5vw,52px);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 0 24px rgba(125,27,211,0.4);
}

.exp-stat-num--gold {
    color: var(--secondary);
    text-shadow: 0 0 24px rgba(222,155,24,0.4);
}

.exp-stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 8px;
    display: block;
}

/* ══════════════════ TIMELINE ══════════════════ */
.exp-timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

    .exp-timeline::before {
        content: '';
        position: absolute;
        top: 7px;
        left: 6%;
        right: 6%;
        height: 2px;
        background: linear-gradient(90deg, rgba(125,27,211,0.45) 0%, rgba(222,155,24,0.35) 100%);
        z-index: 0;
    }

.exp-tl-item {
    position: relative;
    padding-top: 30px;
    z-index: 1;
}

.exp-tl-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 2px solid rgba(125,27,211,0.5);
}

.exp-tl-item--done .exp-tl-marker {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(125,27,211,0.7);
}

.exp-tl-item--active .exp-tl-marker {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 0 0 rgba(222,155,24,0.5);
    animation: exp-pulse 2.4s ease-out infinite;
}

.exp-tl-phase {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--secondary);
}

.exp-tl-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 8px 0 10px;
}

.exp-tl-body {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(236,230,255,0.55);
}

/* ══════════════════ CLOSING ══════════════════ */
.exp-closing-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.exp-closing {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    background: rgba(18,10,36,0.45);
    border: 1px solid rgba(125,27,211,0.26);
    border-radius: 24px;
    padding: 54px 36px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

    .exp-closing::before {
        content: '';
        position: absolute;
        top: 0;
        left: 20%;
        right: 20%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(222,155,24,0.6), transparent);
    }

.exp-closing-title {
    font-size: clamp(24px,3.4vw,36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.exp-closing-sub {
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(236,230,255,0.60);
    margin-bottom: 30px;
}

.exp-cta {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 999px;
    transition: filter 0.18s, transform 0.15s, box-shadow 0.18s;
}

    .exp-cta:hover {
        filter: brightness(1.14);
        transform: translateY(-1px);
        box-shadow: 0 8px 28px var(--primary-glow);
    }

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 900px) {
    .exp-grid {
        grid-template-columns: 1fr 1fr;
    }

    .exp-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .exp-stats {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .exp-stat:nth-child(2n) {
        border-right: none;
    }

    .exp-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

        .exp-timeline::before {
            display: none;
        }
}

@media (max-width: 620px) {
    .exp-grid {
        grid-template-columns: 1fr;
    }

    .exp-stats {
        grid-template-columns: 1fr;
    }

    .exp-stat {
        border-right: none;
        border-bottom: 1px solid rgba(125,27,211,0.14);
        padding-bottom: 24px;
    }

        .exp-stat:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .exp-timeline {
        grid-template-columns: 1fr;
    }

    .exp-route {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: center;
    }

    .exp-route-line {
        height: 50px;
        transform: rotate(90deg);
    }

    .exp-coord-row {
        flex-direction: column;
    }

    .exp-coord-arrow {
        transform: rotate(90deg);
    }
}
